﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ITAP.ShprossesBuilder.Editor
{
    public partial class AlignRelativeToForm : Form
    {
        private AlignRelative align = AlignRelative.ToInnerModelSize;
        public AlignRelative Align
        {
            get
            {
                return align;
            }
        }
        public AlignRelativeToForm()
        {
            InitializeComponent();
        }

        private void radioButtonInner_CheckedChanged(object sender, EventArgs e)
        {
            align = AlignRelative.ToInnerModelSize;
        }

        private void radioButtonOuter_CheckedChanged(object sender, EventArgs e)
        {
            align = AlignRelative.ToModelSize;
        }

        private void radioButtonCell_CheckedChanged(object sender, EventArgs e)
        {
            align = AlignRelative.ToModelCellSize;
        }
    }
}
